package com.rimi.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author liHaiYang
 * @version V1.0
 * @Description: (用一句话描述该文件做什么)
 * @date 2021/7/9 10:23
 */
@Data
@ApiModel("宠物类")
public class PetsAddVo {

    @ApiModelProperty("宠物性别 1表示GG，2表示MM")
    private String petSex;

    @ApiModelProperty("宠物类")
    private String petType;

    @ApiModelProperty("宠物昵称")
    private String petNickname;

    @ApiModelProperty("宠物生日")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date petBirthday;

    @ApiModelProperty("宠物体重")
    private double petWeight;

    @ApiModelProperty("是否绝育 1表示未绝育，2表示已绝育")
    private String petSterilization;

    @ApiModelProperty("宠物描述")
    private String petDescribe;

    @ApiModelProperty("宠物头像")
    private String petHeaderImg;

}
